package com.pattern.deno.component.concretecomponents;

import com.pattern.deno.component.Beverage;

import java.math.BigDecimal;

/**
 * @ClassName: Espresso
 * @Description:    浓缩咖啡
 * @Date: 2020/8/28 14:10
 * @Author: Song JinGen
 */
public class Espresso extends Beverage {

    public Espresso(){
        description = "浓缩咖啡";
    }

    @Override
    public BigDecimal cost() {
        return new BigDecimal("1.99");
    }
}
